import {
	getAction,
	postAction
} from "../api/myApi.js"

export default {
	methods: {
		/**
		 * 获取项目公告列表
		 */
		getSearch(params, callback, finallyCallback = () => {}) {
			getAction("/jeecg-zjcs/project/zjcsXmggCon/search", params)
				.then(res => {
					callback(res)
				})
				.catch(err => {
					console.error(err)
					this.$tip.error("获取项目公告列表失败")
				})
				.finally(() => {
					finallyCallback()
				})
		},
		
	}
}
